import Vue from "vue";
import VueRouter from "vue-router";
import Item from "../views/Item.vue";
Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "Item",
    component: Item,
  },
  {
    path: "/evaluate",
    name: "Evaluate",
    component: () => import("../views/Evaluate.vue"),
  },
  {
    path: "/marchart",
    name: "Marchart",
    component: () => import("../views/Marchart.vue"),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
